//
//  ButtonView.h
//  LoanTeam15
//
//  Created by gynjobs on 2017/8/18.
//  Copyright © 2017年 cangming. All rights reserved.
//

#import "BaseCommondView.h"

#define defaultMargin 5
#define ButtonDefaultColor @"#000000"
#define ButtonDefaultDisColor @"#eeeeee"
@class ButtonView;
@protocol ButtonViewDelegate <NSObject>

-(void)clickButtonWith:(ButtonView *)buttonView;

@end

@interface ButtonView : BaseCommondView
@property(copy,nonatomic)NSString *ButtonEnableColor;
@property(copy,nonatomic)NSString *buttonDisableColor;
@property(copy,nonatomic)NSString *buttonTitle;
@property(copy,nonatomic)NSString *buttonTitleDisableColor;
@property(copy,nonatomic)NSString *buttonTitleEnableColor;
@property(assign,nonatomic)CGFloat marginLeft;
@property(assign,nonatomic)CGFloat marginTop;
@property(weak,nonatomic)id<ButtonViewDelegate>delegate;
@property(assign,nonatomic)BOOL isEnable;
@end
